package mas;

public class Report {
	private long pickupError = 0;
	private long deliveryError = 0;
	private long totalTraveledDistance = 0;
	private long totalSimulationTime = 0;
	public long getPickupError() {
		return pickupError;
	}
	public void setPickupError(long pickupError) {
		this.pickupError = pickupError;
	}
	public long getDeliveryError() {
		return deliveryError;
	}
	public void setDeliveryError(long deliveryError) {
		this.deliveryError = deliveryError;
	}
	public long getTotalTraveledDistance() {
		return totalTraveledDistance;
	}
	public void setTotalTraveledDistance(long totalTraveledDistance) {
		this.totalTraveledDistance = totalTraveledDistance;
	}
	public long getTotalSimulationTime() {
		return totalSimulationTime;
	}
	public void setTotalSimulationTime(long totalSimulationTime) {
		this.totalSimulationTime = totalSimulationTime;
	}
	public Report(long pickupError, long deliveryError,	long totalTraveledDistance, long totalSimulationTime) {
		super();
		this.pickupError = pickupError;
		this.deliveryError = deliveryError;
		this.totalTraveledDistance = totalTraveledDistance;
		this.totalSimulationTime = totalSimulationTime;
	}
	public void plotResults(Experiment e) {
		//experiment#, pu, de, dit, time
		System.out.println(e.getNumber()+","+this.getPickupError()+","+this.getDeliveryError()+","+this.getTotalTraveledDistance()+","+this.getTotalSimulationTime());
	}
	
	
}
